<template>
  <div>
    <el-carousel>
      <el-carousel-item v-for="(item,index) in 5" :key="index">
        <h3 class="small">
          <!-- {{item.url}} -->
          <!-- <el-image
            style="width: 100px; height: 100px"
            src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png"
          ></el-image>-->
        </h3>
      </el-carousel-item>
    </el-carousel>
    <Card />
  </div>
</template>

<script>
export default {
  data() {
    return {
      // bannerList: [],
    };
  },
  mounted() {
    // this.getBannerList();
  },
  methods: {
    // async getBannerList() {
    //   const { data } = await this.$nuxt.$axios.get(
    //     "http://localhost:3002/api/getBanner"
    //   );
    //   this.bannerList = data;
    // },
  },
};
</script>
<style>
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 300px;
  margin: 0;
  text-align: center;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
</style>
